package com.nx.service;

import com.mongodb.client.result.UpdateResult;
import com.nx.entity.User;

import java.util.List;

public interface IUserService {

	public void save(User user);

    public void insert(User user);
	
	public void remove(String uid);
	
	public UpdateResult update(User user);
	
	public List<User> findByUid(String uid);
	
	public List<User> findByUidAndTimestamp(String uid,String name);
	
	public List<User> page(int page,String uid);

}